<section class="main">
    <div id="divMain">
        <div class="divHeader" style="padding-left: 38px; background: transparent url('/resources/system/image/common/article_32.png') no-repeat scroll 3px 9px / 32px auto;">文章管理</div>
        <div class="SubMenu"></div>
        <div id="divMain2">
            <form action="#" method="post" id="search" class="search">
                <p>搜索:&nbsp;&nbsp;分类 <select style="width:140px;" name="category" size="1" class="edit">
                    <option value="">任意</option>
                    <option value="1">未分类</option>
                </select>&nbsp;&nbsp;&nbsp;&nbsp;类型 <select style="width:100px;" name="status" size="1" class="edit">
                    <option value="">任意</option>
                    <option value="0">公开</option>
                    <option value="1">草稿</option>
                    <option value="2">审核</option>
                </select>&nbsp;&nbsp;&nbsp;&nbsp;
                    <label><input type="checkbox" value="True" name="istop">&nbsp;置顶</label>&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="text" value="" style="width:250px;" name="search"> &nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="submit" value="提交" class="button"></p>
            </form>
            <table border="1" class="tableFull tableBorder tableBorder-thcenter">
                <tbody>
                <tr class="color1">
                    <th>ID</th><th>分类</th><th>作者</th><th>标题</th><th>日期</th><th>评论</th><th>状态</th><th>操作</th>
                </tr>
                #foreach($model in $models)
                <tr class="color3">
                    <td class="td5">$!model.id</td>
                    <td class="td10">$!model.cateId</td>
                    <td class="td10">$!model.userId</td>
                    <td>
                        <a target="_blank" href="/article/${model.id}.html" class="button">
                        <img width="16" src="/resources/system/image/admin/link.png"></a>
                        $!model.title
                    </td>
                    <td class="td20">$!model.createTime</td>
                    <td class="td5">$!model.commentNum</td>
                    <td class="td5">$!model.status</td>
                    <td class="td10 tdCenter">
                        <a href="/system/management/article-edit.html?id=$!model.id&type=show" class="button">
                            <img width="16" title="编辑" alt="编辑" src="/resources/system/image/admin/page_edit.png" />
                        </a>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <a href="/system/management/article-remove.html?id=$!model.id" onclick="return window.confirm('单击“确定”继续。单击“取消”停止。');" class="button">
                            <img width="16" title="删除" alt="删除" src="/resources/system/image/admin/delete.png" />
                        </a>
                    </td>
                </tr>
                #end
                </tbody>
            </table>
        </div>
        <script type="text/javascript">ActiveLeftMenu("aArticleMng");</script>
        <script type="text/javascript">AddHeaderIcon("/resources/system/image/common/article_32.png");</script>
    </div>
</section>